<%--
  Created by IntelliJ IDEA.
  User: PhiHùng
  Date: 4/19/14
  Time: 2:47 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<body>
<h1>${error}</h1>
<p>${count} kết quả cho: ${req}</p>
<table border="1">
    <tr>
        <td>Tiêu đề</td>
        <td>Đường dẫn</td>
        <td>Lượt thích</td>
    </tr>
    <c:forEach items="${results}" var="o">
        <tr>
            <td>${o.title}</td>
            <td><a href="${o.url}">${o.url}</a> </td>
            <td>${o.likeNum}</td>
        </tr>
    </c:forEach>
</table>
</body>
</html>
